package edu.ccut.saturn.operation.database;

import java.sql.Connection;

public class QueryCountByCondition {
	private static edu.ccut.saturn.basecomponent.database.facade.QueryCountByCondition facade = null;
	private static QueryCountByCondition instance  = new QueryCountByCondition();
    private QueryCountByCondition(){
    	facade = new edu.ccut.saturn.basecomponent.database.facade.QueryCountByCondition();
    };
    public static QueryCountByCondition getInstance(){
    	return instance;
    }

	public int execute(String fullKey ,String condition,Connection conn) throws Exception {
		return facade.execute(fullKey, condition, conn);
	}

}
